#include<stdio.h>
#include<unistd.h>
#include<fcntl.h>

#define MAX_FILE 1024

int
main(int argc, char *argv[]){
    
    
    char buf[MAX_FILE];

    int read_num;
    if((read_num = readlink("myfile2",buf,sizeof(buf))) < 0){
           
        perror("readlink");
    }

    printf("num = %d,%s\n",read_num ,buf);


    return 0;
}
